const app = getApp();
Component({

  properties: {
    payFlag: {
      type: Boolean,
      value: false
    }
    //页面默认显示状态
  },
  data: {
    pictureUrl: '/image/'
  },
  methods: {
    closePay() {
      this.setData({
        payFlag: false
      })
      this.triggerEvent('closePay')
    },
    payBtn(){
      this.setData({
        payFlag: false
      })
      this.triggerEvent('refreshPay')
    }
  }
});